﻿/// <summary>
/// AstroBody class
/// </summary>
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml;
using System.Xml.Serialization;

namespace SpaceSim
{
    /// <summary>
    /// Represents an instance of an astrophysics body in the simulation
    /// </summary>
    public class AstroBody
    {
        [XmlElement()]
        public string Name { get; set; }

        [XmlElement("AstroBodyDesc")]
        public AstroBodyDesc Desc { get; set; }

        public AstroBody(string name, AstroBodyDesc desc)
        {
            Name = name;
            Desc = desc;
        }

        public AstroBody()
        {
        }
    }
}
